package org.dromara.business.domain.bo;

import org.dromara.business.domain.ContentCommentLikes;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 用户对评论的点赞状态业务对象 t_content_comment_likes
 *
 * @author Hao Tong Xue
 * @date 2025-05-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ContentCommentLikes.class, reverseConvertGenerate = false)
public class ContentCommentLikesBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 评论ID
     */
    @NotNull(message = "评论ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long commentId;

    /**
     * 点赞状态 0-点赞 1-取消点赞
     */
    private Long isLiked;

    /**
     * 备注
     */
    private String remark;


}
